package day12;

import java.util.ArrayList;

public class studentTest {
    public static void main(String[] args) {
        ArrayList<student> list =new ArrayList<>();
        student s1 = new student("张三",18,"男");
        student s2 = new student("李四",19,"男");
        student s3 = new student("王五",30,"男");

        list.add(s1);
        list.add(s2);
        list.add(s3);

        int max=studentUtil.ageMax(list);
        System.out.println(max);
    }
}
